#include "seg_line.h"
#include "ui_seg_line.h"
#include "qfiledialog.h"
Seg_line::Seg_line(QWidget* parent) :
    QDialog(parent),
    ui(new Ui::Seg_line)
{
    ui->setupUi(this);
}

Seg_line::~Seg_line()
{
    delete ui;
}

void Seg_line::on_buttonBox_accepted()
{
    emit sendData(ui->lineEdit->text(), ui->lineEdit_2->text());

    this->close();
}